##### SUMMARY
See https://github.com/ansible/ansible/blob/88d8cf8197c53edd3bcdcd21429eb4c2bfbf0f6a/lib/ansible/module_utils/basic.py#L699-L706

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
lib/ansible/module_utils/basic.py

##### ANSIBLE VERSION
```paste below
2.9
devel
```

filename = os.path.expandvars(os.path.expanduser(filename))
        fh = open(filename, 'a')
        fh.write(str)
        fh.close()
    def bytes_to_human(self, size):
        return bytes_to_human(size)
    
    pretty_bytes = bytes_to_human
    def human_to_bytes(self, number, isbits=False):
        return human_to_bytes(number, isbits)
    #
    
    #
    
    is_executable = is_executable
    @staticmethod
    def get_buffer_size(fd):
        try:
            
            buffer_size = fcntl.fcntl(fd, 1032)
        except Exception:
            try:
                
                buffer_size = select.PIPE_BUF
            except Exception:
                buffer_size = 9000  
        return buffer_size
def get_module_path():
    return os.path.dirname(os.path.realpath(__file__))